package com.hbxy.favorite.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author hello world
 * @Date 2019/3/26 13:49
 **/
//以后所有无数据跳转页面都写到这个Controller

@Controller
public class RoteController {




    @RequestMapping("/")
    public String toShouye(){

        return "shouye-page";
    }
    @RequestMapping("/page-type")
    public String toPageType(){

        return "page-type";
    }


    @RequestMapping("/page-login")
    public String toLogin(){

        return "page-login";
    }

    @RequestMapping("/toregister")
    public String toregister(){
        return "page-register";
    }

    @RequestMapping("/toindex")
    public String toindex(){ return "index";
    }

    @RequestMapping("/page-inbox")
    public String toinbox(){ return "page-inbox";
    }
    @RequestMapping("/page-backuser-login")
    public String backUserLogin(){ return "page-backuser-login";
    }


}
